﻿using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    internal class ISSTInf
    {
        private ushort cbOffset;
        private uint ib;
        private ushort reserved;

        public void Read(BinaryReader reader)
        {
            ib = reader.ReadUInt32();
            cbOffset = reader.ReadUInt16();
            reserved = reader.ReadUInt16();
            //\\Contract.Assert(reserved == 0);
        }

        public void Write(BinaryWriter writer)
        {
            writer.Write(ib);
            writer.Write(cbOffset);
            writer.Write(reserved);
        }
    }
}